﻿using System;
using System.Net;

namespace ProjectManagement.Web
{
    public partial class Task
    {
        
        // Конструктор без TaskID
        public Task()
        {

            //TaskID = getAvailibleTaskID();
            var ths = new TaskHasStatu();
            ths.Status.IDStatus = (decimal) MainEntities.Status.notAssigned;
            this.TaskHasStatus.Add(ths);
            //MainPage.statusChanged += new StatusChangedEventHandler(task_statusChanged);
        }

        void setTaskStatus(MainEntities.Status mainStat)
        {
            var ths = new TaskHasStatu();
            ths.Status.IDStatus = (decimal) mainStat;
        }
    }


}
